/**
 * Created by Administrator on 2017/5/6 0006.
 */
    checkCookie()
    var mid= $.cookie('mid')
    var token= $.cookie('token')
var fid = getQueryString('fid');


getData({url:qrcode,data:{mid:mid,token:token,fid:fid}}, function (res){
    if (res.state) {
        $("#main").html((template("qrcode", res)));
        $(".load").hide();
        $("#main").show();
    } else {
        layer.msg(res.msg);
    }
})